#ifndef EGG_BACKGROUNDSTAGE_H
#define EGG_BACKGROUNDSTAGE_H

#include "ShaderLib.h"
#include "GeometryLib.h"
#include "FrameEvent.h"
#include "StateCache.h"

namespace egg{

    class BackgroundStage{
    public:
        BackgroundStage();
        void doRender(const FrameEvent& evt,TexturePtr background);
    protected:
        uint32 mColorSlot;
        ShaderPtr mShader;
        GeometryPtr mQuad;
        TextureParamPtr mColor;
        ShaderParamMap mParamMap;
    };

}

#endif